<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
<head>
	<%@include file="/WEB-INF/views/include.jsp"%>
	
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 项目管理 <span class="c-gray en">&gt;</span> 项目列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<form action="${base}/admin/project/list.do" method="post">
	<div class="page-container">
<!-- 		<div class="text-c"> 日期范围： -->
<!-- 			<input type="text" name="firstTime" value="${firstTime}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'logmax\')}'})" id="logmin" class="input-text Wdate" style="width:120px;"> -->
<!-- 			- -->
<!-- 			<input type="text" name="endTime" value="${endTime}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'logmin\')}'})" id="logmax" class="input-text Wdate" style="width:120px;"> -->
<!-- 			<input type="text" name="projectName" id="" value="${projectName}" placeholder="项目名称" style="width:250px" class="input-text"> -->
<!-- 			<button name="" id="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i>搜项目</button> -->
<!-- 		</div> -->
		<div class="cl pd-5 bg-1 bk-gray mt-20"> 
			<span class="r">共有数据：<strong>${list.size()}</strong> 条</span> 
		</div>
		<div class="mt-20">
			<table class="table table-border table-bordered table-bg table-hover table-sort">
				<thead>
					<tr class="text-c">
						<th width="25"><input type="checkbox" name="" value=""></th>
						<th width="80">序号</th>
						<th width="80">项目申请人</th>
						<th width="80">联系方式</th>
						<th width="100">简历</th>
						<th width="100">商业计划书</th>
						<th width="100">视频</th>
						<th width="80">申请时间</th>
						<th width="80">操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${list}" var="list" varStatus="status">
						<tr class="text-c">
							<td><input type="checkbox" value="" name=""></td>
							<td>${status.index+1}</td>
							<td>${list.user.realname}</td>
							<td>${list.user.mobilePhone}</td>
							<td>
								<c:choose>
									<c:when test="${not empty list.resumeUrl}">
										<a href="${base}/${list.resumeUrl}">${list.resumeName}</a>
									</c:when>
									<c:otherwise>${list.resumeName}</c:otherwise>
								</c:choose>
							</td>
							<td>
								<c:choose>
									<c:when test="${not empty list.bpUrl}">
										<a href="${base}/${list.bpUrl}">${list.bpName}</a>
									</c:when>
									<c:otherwise>${list.bpName}</c:otherwise>
								</c:choose>
							</td>
							<td>
								<c:choose>
									<c:when test="${not empty list.videoUrl}">
										<a href="${base}/${list.videoUrl}">${list.videoName}</a>
									</c:when>
									<c:otherwise>${list.videoName}</c:otherwise>
								</c:choose>
							</td>
							<td><fmt:formatDate value="${list.applyTime}"  pattern="yyyy-MM-dd HH:mm:ss" type="date" dateStyle="long" /></td>
							<td class="f-14 td-manage">
								<a style="text-decoration:none" class="ml-5" onClick="user_show('投递人详情','${base}/admin/executives/view/${list.userId}.do')" href="javascript:;" title="预览"><i class="Hui-iconfont">&#xe695;</i></a>
<!-- 								<a style="text-decoration:none" class="ml-5" onClick="project_del(this,'${list.id}')" href="javascript:;" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a> -->
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</form>
<script type="text/javascript" src="${base}/common/js/project/list.js?v=${v}"></script>
</body>
</html>